﻿<%namespace YouHP.Model%>
<%namespace YouHP.Utility%>
<%template _header%>

<style type="text/css" media="screen">
     .textbox
     {
     	background-color : #D4EAEF;
        border: 1px solid #9C9E9D;

     }
     
     .divPresName
     {
     	margin-left: 50px;
     	color:#777777;
        font: bold 8px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; 
        padding: 4px 6px 4px 2px; 
     }
     
     .spacing
     {
     	width: 20px;
     }
     
     .spacing1
     {
     	width: 40px;
     }
     
     .submit
     {
     	padding-left: 250px;
     }
     
</style>

<script type="text/javascript">   
</script>


<div class="layout-cols2">
<%template _memmenu%>
	<div class="pannelcontent">

		<div class="pcontent">
		    <div class="panneldetail">
	            <%template _memrecordermenu%>
	     	
			    <div class="pannelbody">
	
		        <%csharp%>if( IsPost){ <%/csharp%>
	    
	                <%template _MsgBox%>
	    
	            <%csharp%> } else { <%/csharp%>
	    
	                <div class="box">
	                    <div class="caption">
	                        修改方剂
	                    </div>
	                    
	                     <!--修改方剂主体部分-->    
	                    <div class="content">
	                    <br />
	                    <form id="trmform" name="trmform" method="post" action="">
	                        <table class="table-box" width="750px">
	                            <tbody>
	                                <tr>
	                                    <td class="spacing"></td>
	                                    <td class="divPresName" colspan="2">
	                                        药方名称 &nbsp;&nbsp;&nbsp;&nbsp;
	                                    <input name="PrescriptionName" id="PrescriptionName"  value="{_presInfo.Name}" class="textbox"></input>
	                                    </td>
	                                </tr>
                    
                                    <tr> 
                                        <td class="spacing"></td>
                                        <td class="divPresName">药方说明</td>
                                    </tr>
                                    <tr>
                                        <td class="spacing1"></td>
                                        <td colspan="2">
                                        <textarea name="PrescriptionDescription" id="PrescriptionDescription" cols="70" rows="13" value="{_presInfo.Description}" class="textbox">{_presInfo.Description}</textarea>
                                        </td>
                                    </tr>
                    
                                    <tr>
                                        <td class="spacing"></td>
                                        <td class="divPresName">药方评价:</td>
                                    </tr>
                                    <tr>
                                        <td class="spacing1"></td>
                                        <td colspan="2">
                                        <textarea name="PrescriptionComment" id="PrescriptionComment" cols=70 rows=6 class="textbox">{_presInfo.Comment}</textarea>
                                        </td>
                                    </tr>
	                  
    	                            
    	                            <tr>
	                                    <td class="spacing"></td>
	                                    <td class="divPresName" colspan="2">
	                                        药方评分 &nbsp;&nbsp;&nbsp;&nbsp;
	                                        <select name="PrescriptionScore" id="PrescriptionScore" class="textbox">
	                                            <option value="0">0</option>
	                                            <option value="1">1</option>
	                                            <option value="2">2</option>
	                                            <option value="3">3</option>
	                                            <option value="4">4</option>
	                                            <option value="5">5</option>
	                                            <option value="6">6</option>
	                                            <option value="7">7</option>
	                                            <option value="8">8</option>
	                                            <option value="9">9</option>
	                                            <option value="10">10</option>
                                            </select>
                                            <script>
                                                _$("PrescriptionScore").value="{_presInfo.Score}";
                                            </script>
	                                    </td>
	                                </tr> 
	                                
	                                <tr>
    	                                <td colspan="3" class="submit" > 
    	                                    <span class="btn-min">
	                                        <a href="#" onclick="CheckForm();">提交</a>
                                            </span>
                                        </td>
    	                            </tr>  
	                            </tbody>
	                        </table>             
	                </form>
	                
	                <script type="text/javascript">
	                function CheckForm()
	                {
	                    _$('trmform').submit();
	                }
	                	                
	                </script>
	            <br />
	        </div>
	                </div>
	    
	            <%csharp%> } <%/csharp%>
	            </div>
	        </div>
	    </div>
	</div>	
</div>


<%template _footer%>